how to estimate process timing python

32

how to estimate process timing python -

>>> import timeit
>>> tic=timeit.default_timer()
>>> # Do Stuff
>>> toc=timeit.default_timer()
>>> toc - tic #elapsed time in seconds

Comments

Submit
0 Comments